package com.app.micaihu.bean.news;

import android.text.TextUtils;

import com.app.micaihu.configure.TypeConstant;

import java.util.List;

/**
 * Created by Guo on 2016/7/29.
 *
 * 图库详情
 *
 */
public class ImageDetailBean extends ShareBean{
    private String articleTitle;//资讯标题
    private String commentNum;//评论总数
    private String shareNum;//分享总数
    private List<GalleryEntity> galleryList;//图片集合
    private String isCollect;//是否收藏 1已收藏/0未收藏
    private String nextArticleId;//下一个图集的id
    private List<RecommendGalleryEntity> recommendGallery;//推荐的图库集合


    public ImageDetailBean(){
        //默认分享类型为话题类型
        this.shareType = TypeConstant.SHARE_TYPE_NEWS;
    }



    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public String getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(String commentNum) {
        this.commentNum = commentNum;
    }

    public String getShareNum() {
        return shareNum;
    }

    public void setShareNum(String shareNum) {
        this.shareNum = shareNum;
    }

    public List<GalleryEntity> getGalleryList() {
        return galleryList;
    }

    public void setGalleryList(List<GalleryEntity> galleryList) {
        this.galleryList = galleryList;
    }

    public boolean getIsCollect() {
        //return isCollect;
        return !TextUtils.equals("0",isCollect);
    }

    public void setIsCollect(String isCollect) {
        this.isCollect = isCollect;
    }

    public String getNextArticleId() {
        return nextArticleId;
    }

    public void setNextArticleId(String nextArticleId) {
        this.nextArticleId = nextArticleId;
    }

    public List<RecommendGalleryEntity> getRecommendGallery() {
        return recommendGallery;
    }

    public void setRecommendGallery(List<RecommendGalleryEntity> recommendGallery) {
        this.recommendGallery = recommendGallery;
    }
}
